package com.twang.stock;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.spring.annotation.MapperScan;

@EnableScheduling // 开启定时任务功能
@SpringBootApplication
@MapperScan(markerInterface = Mapper.class, basePackages = "com.twang.stock.mapper")
public class StockTaskApplication {

    public static void main(String[] args) {
        SpringApplication.run(StockTaskApplication.class, args);
    }

}
